package chatNI;

import java.io.IOException;
import java.net.UnknownHostException;

/**
 * <b>Project ChatSystemG2 - INSA 4INFOA1 - 2013/2014</b>
 * <P>
 * <i>Package  chatNI</i> <br>
 * NIToCont is an interface. It represents the messages from the chatNI to the chatController. <br>
 *
 * @author Sergio Gonzalez - Marie-Charlotte Bideaud
 */

public interface NIToCont {
	
	/**
	 * Method that creates a hello message 
	 * 
	 * @param arg : Object
	 * @throws UnknownHostException
	 * @throws IOException 
	 */
	public void hello (Object arg) throws UnknownHostException, IOException ;
	
	/**
	 * Method that creates a goodbye message 
	 * 
	 * @param arg : Object
	 * @throws UnknownHostException
	 * @throws IOException 
	 */
	public void goodbye (Object arg) throws UnknownHostException, IOException ;
	
	/**
	 * Method that creates a text message 
	 * 
	 * @param arg : Object
	 * @throws IOException 
	 */
	public void sendText (Object arg) throws IOException ;
	
	/**
	 * Method that creates a file request 
	 * 
	 * @param arg : Object
	 * @throws IOException 
	 */
	public void fileRequest (Object arg) throws IOException ;
	
	/**
	 * Method that creates a file answer 
	 * 
	 * @param arg : Object
	 * @throws IOException 
	 */
	public void fileAnswer (Object arg) throws IOException ;

}

